<?php
/**
 * GlobalUserConst.php
 * @copyright (c) 2011-2020, Hangzhou DOJI Tech Co., Ltd.
 * This is NOT a freeware, use is subject to license terms.
 * @package GlobalUserConst.php
 * @link https://www.tingjunapp.com/
 * @author wujun@lanqb.cn
 * @: GlobalUserConst.php 310000 2020-11-08 18:52:14 $
 * */

namespace App\Consts;

/**
 * 用户通用常量定义
 * @author dumpling
 */
class GlobalUserConst
{
    public const TOURIST_DEFAULT_NICKNAME = '游客';

    public const NORMAL_USER_DEFAULT_NICKNAME = '听君_';

    // 用户身份，1用户，2作者，3游客
    public const IDENTITY_USER    = 1;
    public const IDENTITY_AUTHOR  = 2;
    public const IDENTITY_TOURIST = 3;

    // 是否为机器人，0否，1是
    public const IS_NOT_ROBOT = 0;
    public const IS_ROBOT     = 1;

    // 启用状态，0禁用，1启用
    public const STATUS_DISABLE = 0;
    public const STATUS_NORMAL  = 1;

    // 是否删除，0正常，1删除
    public const IS_NOT_DELETE = 0;
    public const IS_DELETED    = 1;

    // 性别，1男，2女，3保密
    public const GENDER_MAN      = 1;
    public const GENDER_WOMAN    = 2;
    public const GENDER_NOT_KNOW = 3;
}
